﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sucdri.Infrastructure.Core.Extensions
{
   public static class DictionaryExtension
   {
      public static IDictionary<TKey, TValue> AddOrReplace<TKey, TValue>(this IDictionary<TKey, TValue> dict, TKey key, TValue value)
      {
         dict[key] = value;
         return dict;
      }
   }
}
